package start.spring.basic.flowable.service.flowable;

import java.util.List;

import start.spring.basic.flowable.entity.WfCopy;
import start.spring.basic.flowable.service.IBaseService;
import start.spring.basic.flowable.vo.flowable.WfCopyBo;
import start.spring.basic.flowable.vo.flowable.WfCopyVo;
import start.spring.basic.flowable.vo.flowable.WfTaskBo;
import start.spring.basic.page.PageQuery;
import start.spring.basic.page.PageResult;
import start.spring.basic.response.ResponseData;

/**
 * 流程抄送Service接口
 *
 * @author KonBAI
 * @date 2022-05-19
 */
public interface IWfCopyService extends IBaseService {

    /**
     * 查询流程抄送
     *
     * @param copyId 流程抄送主键
     * @return 流程抄送
     */
    WfCopy queryById(Long copyId);

    /**
     * 查询流程抄送列表
     *
     * @param wfCopy 流程抄送
     * @return 流程抄送集合
     */
    PageResult<WfCopyVo> selectPageList(WfCopyBo wfCopy, PageQuery pageQuery);

    /**
     * 抄送
     * @param taskBo
     * @return
     */
    Boolean makeCopy(WfTaskBo taskBo);

    /**
     * 删除抄送记录
     *	
     * @param ids 待删除记录主键
     * @return
     * @since           1.0
     */
	ResponseData<String> deleteCopyList(List<String> ids);
}
